home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
morphtargets
/
morph_box_bezier.s3d
next >
Wrap
Text File
|
2000-07-11
|
8KB
|
258 lines
Background {
color 0 0 0
}
DEF world-TIMER TimeSensor {
loop TRUE
cycleInterval 3.333
}
DEF Box01 Transform {
translation 0.7116 0 -2.74
children [
DEF Box01Morpher ChannelDeformer {
basePoint [
-7.5 0 7.5 7.5 0 7.5 -7.5 0 -7.5 7.5 0 -7.5 -7.5 15 7.5 7.5 15 7.5 -7.5 15 -7.5 7.5 15 -7.5
]
channels [
DEF MC_Box02 TranslationArrayDefChannel {
translations [
-0.001485 0 0.04939 0.003114 0 0.1362 -0.003965 0 -0.05176 0.001309 0 0.02035 0.04653 0 -0.03761
-0.04342 0 -0.0354 0.03076 0 0.02761 -0.05096 0 0.05537
]
}
DEF MC_Box03 TranslationArrayDefChannel {
modifiedCoordIndex [
1 3 4 5 6 7
]
translations [
0.09258 0 0.001797 0.09347 0 -0.02449 0.03182 0 -0.03496 -0.02062 0 -0.03744 0.05117 0 -0.04628
-0.01814 0 -0.05426
]
}
]
}
DEF MC_Box02-BEZSCALAR-INTERP BezierScalarInterpolator {
key [
0 0.18 0.37 0.58 0.85
]
keyValue [
0 46.65 71.32 74
74 76.83 7.383 9
9 10.84 94.28 100
100 107.4 74.02 0
]
}
ROUTE world-TIMER.fraction_changed TO MC_Box02-BEZSCALAR-INTERP.set_fraction
ROUTE MC_Box02-BEZSCALAR-INTERP.value_changed TO MC_Box02.set_weight
DEF MC_Box03-BEZSCALAR-INTERP BezierScalarInterpolator {
key [
0 0.18 0.37 0.58
]
keyValue [
0 41.76 71.09 88 88 105.8 112.2 100 100 86.49 53.15 0
]
}
ROUTE world-TIMER.fraction_changed TO MC_Box03-BEZSCALAR-INTERP.set_fraction
ROUTE MC_Box03-BEZSCALAR-INTERP.value_changed TO MC_Box03.set_weight
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.102 0.6941 0.3451
}
}
]
geometry MultiMesh {
coord DEF Box01-COORD Coordinate {
point [
-7.5 0 7.5 7.5 0 7.5 -7.5 0 -7.5 7.5 0 -7.5 -7.5 15 7.5 7.5 15 7.5 -7.5 15 -7.5 7.5 15 -7.5
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
ROUTE Box01Morpher.outPoint TO Box01-COORD.set_point
]
}
DEF Box02 Transform {
translation -31.25 0 -3.231
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.102 0.6941 0.3451
}
}
]
geometry MultiMesh {
coord DEF Box02-COORD Coordinate {
point [
-7.648 0 12.44 7.811 0 21.12 -7.896 0 -12.68 7.631 0 -5.465 -2.847 15 3.739 3.158 15 3.96
-4.424 15 -4.739 2.404 15 -1.963
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Box03 Transform {
translation 27.5 0 -2.74
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.102 0.6941 0.3451
}
}
]
geometry MultiMesh {
coord DEF Box03-COORD Coordinate {
point [
-7.5 0 7.5 16.76 0 7.68 -7.5 0 -7.5 16.85 0 -9.949 -4.318 15 4.004 5.438 15 3.756
-2.383 15 -12.13 5.686 15 -12.93
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Camera01 Viewpoint{
position 0 51.28 112.2
orientation 1 0 0 -0.3589
fieldOfView 0.6024
description "Camera01"
}
DEF Camera01.Target Transform {
translation 0 7.929 -3.334
children [
]
}
DEF SampledBox01 Transform {
translation 0.7116 0 -2.74
children [
DEF SampledBox01Morpher ChannelDeformer {
basePoint [
-7.5 0 7.5 7.5 0 7.5 -7.5 0 -7.5 7.5 0 -7.5 -7.5 15 7.5 7.5 15 7.5 -7.5 15 -7.5 7.5 15 -7.5
]
channels [
DEF MC_SampledBox02 TranslationArrayDefChannel {
translations [
-0.001485 0 0.04939 0.003114 0 0.1362 -0.003965 0 -0.05176 0.001309 0 0.02035 0.04653 0 -0.03761
-0.04342 0 -0.0354 0.03076 0 0.02761 -0.05096 0 0.05537
]
}
DEF MC_SampledBox03 TranslationArrayDefChannel {
modifiedCoordIndex [
1 3 4 5 6 7
]
translations [
0.09258 0 0.001797 0.09347 0 -0.02449 0.03182 0 -0.03496 -0.02062 0 -0.03744 0.05117 0 -0.04628
-0.01814 0 -0.05426
]
}
]
}
DEF MC_SampledBox02-SCALAR-INTERP ScalarInterpolator {
key [
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11 0.12 0.13 0.14 0.15 0.16 0.17
0.18 0.19 0.2 0.21 0.22 0.23 0.24 0.25 0.26 0.27 0.28 0.29 0.3 0.31 0.32 0.33 0.34
0.35 0.36 0.37 0.38 0.39 0.4 0.41 0.42 0.43 0.44 0.45 0.46 0.47 0.48 0.49 0.5 0.51
0.52 0.53 0.54 0.55 0.56 0.57 0.58 0.59 0.6 0.61 0.62 0.63 0.64 0.65 0.66 0.67 0.68
0.69 0.7 0.71 0.72 0.73 0.74 0.75 0.76 0.77 0.78 0.79 0.8 0.81 0.82 0.83 0.84 0.85
0.86 0.87 0.88 0.89 0.9 0.91 0.92 0.93 0.94 0.95 0.96 0.97 0.98 0.99 1
]
keyValue [
0 7.572 14.74 21.49 27.84 33.79 39.32 44.45 49.17 53.49 57.4 60.9 63.99 66.68 68.96
70.83 72.29 73.35 74 73.87 72.66 70.5 67.51 63.82 59.56 54.85 49.82 44.59 39.29 34.03
28.96 24.19 19.86 16.07 12.97 10.67 9.308 9 9.8 11.61 14.32 17.83 22.04 26.84 32.14
37.82 43.79 49.93 56.16 62.36 68.43 74.27 79.78 84.85 89.37 93.25 96.39 98.67 100
100.6 101 100.9 100.6 99.9 98.88 97.52 95.82 93.79 91.43 88.73 85.69 82.33 78.62 74.58
70.21 65.5 60.46 55.08 49.37 43.32 36.94 30.22 23.17 15.78 8.057 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
]
}
ROUTE world-TIMER.fraction_changed TO MC_SampledBox02-SCALAR-INTERP.set_fraction
ROUTE MC_SampledBox02-SCALAR-INTERP.value_changed TO MC_SampledBox02.set_weight
DEF MC_SampledBox03-SCALAR-INTERP ScalarInterpolator {
key [
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11 0.12 0.13 0.14 0.15 0.16 0.17
0.18 0.19 0.2 0.21 0.22 0.23 0.24 0.25 0.26 0.27 0.28 0.29 0.3 0.31 0.32 0.33 0.34
0.35 0.36 0.37 0.38 0.39 0.4 0.41 0.42 0.43 0.44 0.45 0.46 0.47 0.48 0.49 0.5 0.51
0.52 0.53 0.54 0.55 0.56 0.57 0.58 0.59 0.6 0.61 0.62 0.63 0.64 0.65 0.66 0.67 0.68
0.69 0.7 0.71 0.72 0.73 0.74 0.75 0.76 0.77 0.78 0.79 0.8 0.81 0.82 0.83 0.84 0.85
0.86 0.87 0.88 0.89 0.9 0.91 0.92 0.93 0.94 0.95 0.96 0.97 0.98 0.99 1
]
keyValue [
0 6.845 13.46 19.84 26 31.92 37.62 43.08 48.32 53.32 58.09 62.64 66.95 71.03 74.89
78.51 81.9 85.07 88 90.72 93.25 95.57 97.68 99.58 101.3 102.7 103.9 104.9 105.6 106.1
106.3 106.2 105.9 105.3 104.4 103.3 101.8 100 97.93 95.6 93 90.12 86.98 83.56 79.88
75.93 71.71 67.21 62.45 57.42 52.12 46.55 40.71 34.6 28.22 21.57 14.65 7.459 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
]
}
ROUTE world-TIMER.fraction_changed TO MC_SampledBox03-SCALAR-INTERP.set_fraction
ROUTE MC_SampledBox03-SCALAR-INTERP.value_changed TO MC_SampledBox03.set_weight
Shape {
appearance Appearance {
material Material {
emissiveColor 1 0 0
}
}
geometry IndexedLineSet {
coord DEF SampledBox01-COORD Coordinate {
point [
-7.5 0 7.5 7.5 0 7.5 -7.5 0 -7.5 7.5 0 -7.5 -7.5 15 7.5 7.5 15 7.5 -7.5 15 -7.5 7.5 15 -7.5
]
}
coordIndex [
0 2 3 -2 3 1 0 -2 4 5 7 -2 7 6 4 -2 0 1 5 -2 5 4 0 -2 1 3 7 -2 7 5 1 -2 3 2 6 -2 6 7 3 -2
2 0 4 -2 4 6 2 -2
]
}
}
ROUTE SampledBox01Morpher.outPoint TO SampledBox01-COORD.set_point
]
}